﻿using Shinva.Variables.Interface;
using Shinva.Variables.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shinva.Variables.Type.time
{
    /// <summary>
    /// 32 位,TOD#0:0:0.0 到 TOD#23:59:59.999
    /// </summary>
    public class PlcToD : PlcMemberBase
    {
        public TimeSpan Value { get; set; }
        public PlcToD(TimeSpan value)
        {
            Value = value;
            Name = "ToD";
            DataType = DataType.TOD;
            SizeInBits = 32;
        }
    }
}
